package com.xuetang9.t9.hotel.beans;

import java.io.Serializable;
import java.util.List;

/** 桌子类型
 * @author ChinaHp
 * @Classname TableType
 * @Description TODO
 * @Date 2020/1/5 16:47
 */
public class TableType implements Serializable {
    private int id;
    private String name;
    private int diners;
    private int waitTime;
    private List<Arranging> arrangings;

    public List<Arranging> getArrangings() {
        return arrangings;
    }

    public void setArrangings(List<Arranging> arrangings) {
        this.arrangings = arrangings;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getDiners() {
        return diners;
    }

    public void setDiners(int diners) {
        this.diners = diners;
    }

    public int getWaitTime() {
        return waitTime;
    }

    public void setWaitTime(int waitTime) {
        this.waitTime = waitTime;
    }

    public TableType() {
    }

    public TableType(int id, String name, int diners, int waitTime) {
        this.id = id;
        this.name = name;
        this.diners = diners;
        this.waitTime = waitTime;
    }

    @Override
    public String toString() {
        return "TableType{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", diners=" + diners +
                ", waitTime=" + waitTime +
                '}';
    }
}
